
	<div class="wrapper account-settings">
		
		<div class="grid-16">
			<?php echo $this->element('profile-settings-nav'); ?>
		</div>
		
		<?php echo $form->create('User', array('url' => array('controller' => 'user', 'action' => 'profile'))); ?>
			<div class="grid-3">
				<h3><?php __('Cuenta'); ?></h3>
			</div>
			
			<div class="grid-9">
				<?php echo $form->input('Profile.firstname', array('type' => 'text', 'label' => __('Nombres', true), 'div' => array('class' => 'input text firstname'))); ?>
				<?php echo $form->input('Profile.lastname', array('type' => 'text', 'label' => __('Apellidos', true), 'div' => array('class' => 'input text lastname'))); ?>
				<?php echo $form->input('Profile.email', array('type' => 'text', 'label' => __('E-mail de contacto', true))); ?>
			</div>
			
			<div class="grid-4">
				<h5>Your personal information</h5>
				
				<p>Update your settings to give users a better idea of where you live, who you are, and what you are all about. You can also add multiple email addresses so you can sign into Vimeo using any of them. Then, make sure to select your gender so Vimeo will call you by the correct pronoun. </p>
			</div>
			
			<div class="separate clearfix"></div>
			
			<div class="grid-3">
				<h3><?php __('Perfil'); ?></h3>
			</div>
			
			<div class="grid-9">
				<?php echo $form->input('Profile.biography', array('type' => 'textarea', 'label' => __('Biografía', true))); ?>
				<?php echo $form->input('Profile.birthdate', array('type' => 'date', 'label' => __('Fecha de nacimiento', true), 'div' => array('class' => 'input date birthdate'), 'dateFormat' => 'DMY', 'minYear' => date('Y', strtotime('-80 Years')), 'maxYear' => date('Y', strtotime('-5 Years')))); ?>
				<?php echo $form->input('Profile.gender', array('type' => 'radio', 'legend' => 'Sexo', 'div' => array('class' => 'input radio gender'), 'options' => array(1 => __('Masculino', true), 2 => __('Femenino', true)))); ?>
				<?php echo $form->input('User.shortcut'); ?>
			</div>
			
			<div class="grid-4">
				<?php echo $form->input('Profile.image', array('type' => 'file', 'label' => __('Foto de perfil', true), 'div' => array('class' => 'input file image'))); ?>
			</div>
			
			<div class="separate clearfix"></div>
			
			<div class="grid-3">
				<h3><?php __('Ubicación'); ?></h3>
				<p><?php __('Indica lo mejor posible tu ubicación, te servirá para recibir más y mejores Ayudas, cotizaciones y datos.'); ?></p>
			</div>
			
			<div class="grid-9">
				<?php echo $form->input('Profile.world_country_id', array('type' => 'select', 'label' => false, 'options' => array())); ?>
				<?php echo $form->input('Profile.world_state_id', array('type' => 'select', 'label' => false, 'options' => array())); ?>
				<?php echo $form->input('Profile.world_city_id', array('type' => 'select', 'label' => false, 'options' => array())); ?>
				
				<?php echo $form->input('Profile.zip_code', array('type' => 'text', 'label' => __('Código Postal', true))); ?>
				<?php echo $form->input('Profile.address', array('type' => 'text', 'label' => __('Dirección', true))); ?>
			</div>
			
			<div class="grid-4">
				gMapa
			</div>
		<?php echo $form->end(); ?>
	</div>